<%@ page contentType="text/html; charset=UTF-8" isELIgnored="false"%>
<%String path=request.getContextPath(); %>
<!-- <span>开始日期：<label class="laydate-icon" id="start" style="width: 20%; height: 30px;"></label></span>
<span>结束日期：<label class="laydate-icon" id="end" style="width: 20%; height: 30px;"></label></span> -->
<script>
/*
 * 员工个人详情页 时间选择
 */
 
 var startSalary = {
		  elem: '#startSalary',
		  format: 'YYYY-MM-DD',
		  min: '2000-06-07', //设定最小日期为当前日期laydate.now()
		  max: '2099-06-07', //最大日期
		  istime: true,
		  istoday: false,
		  choose: function(datas){
			  endSalary.min = datas; //开始日选好后，重置结束日的最小日期
			  endSalary.start = datas //将结束日的初始值设定为开始日
		  }
		};
		var endSalary = {
		  elem: '#endSalary',
		  format: 'YYYY-MM-DD',
		  min: '2000-06-07',
		  max: '2099-06-07',
		  istime: true,
		  istoday: false,
		  choose: function(datas){
			startSalary.max = datas; //结束日选好后，重置开始日的最大日期
		  }
		};
		laydate(startSalary);
		laydate(endSalary);	


</script>
